package com.adtech.adms.system.service;

import java.util.List;

import com.adtech.adms.commons.tree.TreeNode;
import com.adtech.adms.system.pojo.Feature;
import com.adtech.adms.system.pojo.Role;
import com.adtech.adms.system.pojo.Topo;
import com.adtech.adms.system.pojo.User;
import com.adtech.core.dao.query.Pager;
import com.adtech.core.exception.ServiceException;

public interface TopoService {
	public List<Role> getTopoList(Pager pager);
	public List<TreeNode<Topo>> getTopoTree(boolean allLevel);
	public List<TreeNode<Topo>> getTopoTree(Long id, boolean allLevel);
//	public List<TreeNode<Topo>> getTopoTree(Long id, boolean allLevel);
	public Topo getTopoById(Long id);
	public void delete(Long id,User user) throws ServiceException;
	public void save(Long slectId, Topo topo,User user) throws ServiceException;
}
